package com.link_with_health.mapper;

import com.link_with_health.model.TalkRoomEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface TalkRoomMapper {
    TalkRoomEntity queryTalkRoomById(Long id);
    List<TalkRoomEntity> queryTalkRoomByDoctor(Long id);
    List<TalkRoomEntity> queryTalkRoomByPatient(Long id);
    List<TalkRoomEntity> queryTalkRoomByInquiry(Long id);
    List<TalkRoomEntity> queryAllTalkRoom();
    int updateTalkRoom(TalkRoomEntity talkRoom);
    int insertTalkRoom(TalkRoomEntity talkRoom);
    int deleteTalkRoom(Long id);
}
